wayland: Use effective toplevel as popup parent
authorJonas Ådahl <jadahl@gmail.com>
Thu, 4 Aug 2016 06:05:06 +0000 (14:05 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Aug 2016 08:51:46 +0000 (04:51 -0400)
commit1f7094a3e527513e1541bead4323afa80703e8ee
tree369791b6f3b8707ef7160d92a5886efdef4df785
parenta985e62b25132c7f0043fa1073e371f19bbef4c5
wayland: Use effective toplevel as popup parent

When using the set transient-for as a popup parent, fetch the effective
toplevel instead, otherwise we will position against the wrong
coordinate.

https://bugzilla.gnome.org/show_bug.cgi?id=769402
gdk/wayland/gdkwindow-wayland.c